testsuite: Ignore deprecation warnings
authorBenjamin Otte <otte@redhat.com>
Wed, 26 Jun 2013 13:50:21 +0000 (15:50 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 26 Jun 2013 13:51:32 +0000 (15:51 +0200)
testsuite/gtk/builder.c

index 02daeacecedaff6871b244d65aba31fef46c6aa7..b0419b2c945cb56de1df3795570c89859ad8ae04 100644 (file)
@@ -1930,7 +1930,9 @@ test_icon_factory (void)
   icon_set = gtk_icon_factory_lookup (GTK_ICON_FACTORY (factory), "apple-red");
   g_assert (icon_set != NULL);
   gtk_icon_factory_add_default (GTK_ICON_FACTORY (factory));
+  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
   image = gtk_image_new_from_stock ("apple-red", GTK_ICON_SIZE_BUTTON);
+  G_GNUC_END_IGNORE_DEPRECATIONS;
   g_assert (image != NULL);
   g_object_ref_sink (image);
   g_object_unref (image);
@@ -2390,7 +2392,9 @@ test_menus (void)
 
   gtk_widget_show_all (window);
 
+  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
   sample_menu_item = gtk_image_menu_item_new_from_stock (GTK_STOCK_NEW, accel_group);
+  G_GNUC_END_IGNORE_DEPRECATIONS;
 
   child = gtk_bin_get_child (GTK_BIN (sample_menu_item));
   g_assert (child);